package service;

import entity.Blog;

import java.time.LocalDate;
import java.util.List;

public interface BlogService {
    public List<Blog> findAll();
    public Blog findById(int id);
    public void save(Blog blog);
    public void update(Blog blog);
    public void delete(int id);
    public List<Blog> findByTime(String time);
}
